home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 1.8 KB | 57 lines |
- #!smake
-
- include $(ROOT)/usr/include/make/commondefs
-
- # :++: here, as in
- # src/exampleCode/inventor/sharedSV
- # src/exampleCode/games/IndiZone/sw
- # we have had to resort to building Inventor things with the eoe
- # and dev versions of Inventor 1.1.2 since these programs were not
- # able to be ported over to Open Inventor 2.0 in time for v4.1 of
- # the toolbox.
- #
- # please refer to the README.Inventor at the top-of-tree for more
- # information about what one will have to do if one is likewise
- # trying to compile Inventor programs on 5.2 IRIX which have not
- # been ported to Inventor 2.0.
- #
- # (i.e., note use of $(MYROOT) below)
- #
-
- TARGETS = drive
-
- C++FILES = drive.c++ Simulation.c++ Car.c++ Driver.c++ Cockpit.c++ \
- Icon.c++ Engine.c++ Dynamics.c++ Road.c++ Stretch.c++ Straight.c++ \
- Curve.c++ Connect.c++ MiscMath.c++ Render.c++ so.c++ Noise.c++ \
- Sound.c++ Scenery.c++ Timer.c++ Indicators.c++ Help.c++ Bspline.c++ \
- ${NULL}
-
- HFILES = Simulation.h Car.h Driver.h Cockpit.h \
- Icon.h Engine.h Dynamics.h Road.h Stretch.h Straight.h \
- Curve.h Connect.h MiscMath.h Render.h so.h Noise.h \
- Sound.h Scenery.h Timer.h Indicators.h Help.h Bspline.h \
- ${NULL}
-
- #LLDOPTS = -L/usr/lib
- #LC++INCS= -I. -I/usr/include/CC -I/usr/include
- # The following 2 lines were added to build w/Inventor 1.1.2 compatibility :++:
- LLDOPTS = -L$(MYROOT)/usr/lib
- LC++INCS= -I. -I/usr/include/CC -I$(MYROOT)/usr/include
- LLDLIBS = -lfm -lInventor -lsphere -lgutil -limage -lgl -lX11 -lm -lmpc -laudio
- LC++OPTS= +p -float
-
- default:: ${TARGETS}
-
- include $(COMMONRULES)
-
-
- drive: ${OBJECTS} shapes.o libsample.o
- ${C++F} -o $@ ${OBJECTS} shapes.o libsample.o ${LDFLAGS}
- ${TAG} 0x903F $@
-
- shapes.o: shapes.c shapes.h
- ${CCF} -c shapes.c
-
- libsample.o: libsample.c sample.h
- ${CCF} -c libsample.c
-